Piwik\Db B

Total Complexity 100
Dependencies 14
Dependents 106
Total lines 850
Lines of code 349
Logical lines of code 206
Comment lines 351
Methods 36
Properties 5

Methods 36

Method Rating Maintainability Complexity Lines of code
optimizeTables()
A
47 13 38
segmentedFetchFirst()
S
59 6 13
lockTables()
S
58 5 16
checkBoundParametersIfInDevMode()
S
60 5 13
getDbLock()
S
58 4 15
segmentedFetchAll()
S
58 4 15
segmentedQuery()
S
60 4 13
segmentedFetchOne()
S
60 4 13
logExtraInfoIfDeadlock()
S
60 4 12
createReaderDatabaseObject()
S
57 3 17
isLockPrivilegeGranted()
S
62 3 12
isOptimizeInnoDBSupported()
S
62 3 11
deleteAllRows()
S
61 3 11
logSql()
S
64 3 9
get()
S
67 3 9
destroyDatabaseObject()
S
66 3 10
getReader()
S
67 3 9
exec()
S
59 2 14
query()
S
65 2 9
getDatabaseConfig()
S
64 2 9
fetchOne()
S
65 2 9
fetchAssoc()
S
65 2 9
fetchAll()
S
65 2 9
dropTables()
S
69 2 6
fetchRow()
S
65 2 9
unlockAllTables()
S
79 1 3
dropAllTables()
S
76 1 4
hasReaderDatabaseObject()
S
79 1 3
hasDatabaseObject()
S
79 1 3
releaseDbLock()
S
72 1 5
createDatabaseObject()
S
72 1 5
setDatabaseObject()
S
80 1 3
hasReaderConfigured()
S
75 1 4
enableQueryLog()
S
80 1 3
isQueryLogEnabled()
S
80 1 3
getTableStatus()
S
80 1 3